♻️ [Refactor] 프로그레스바 넘침 현상 해결#313
Merged
Conversation
1 task
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
wynter24
approved these changes
Jan 10, 2025
Contributor
wynter24
left a comment
There was a problem hiding this comment.
'정원 = 참여자 수' 일 때, 버튼을 disabled로 수정하겠습니다!
수고하셨습니다!
wynter24
added a commit
that referenced
this pull request
Feb 7, 2025
* 채팅창 높이 지정 (#307) * 토스트가 사라지지 않는 버그 수정 #309 (#311) * ♻️[Refactor] 토스트 메시지 상수로 관리 #312 (#314) * ♻️ [Refactor] 프로그레스바 넘침 현상 해결 (#313) * ♻️[Refactor] 프로그레스바 100% 안넘도록 수정 * ✅[Test] 테스트 코드 추가 * ✨[Feat] ssr로 데이터 fetching #308 * ✨[Feat] ssr로 fetching 한 데이터를 useQuery 초기데이터로 설정 #308 * ✨[Feat] srr로 data fetching 후 csr로 data fetching 작업 중 #308 * �📝[Docs] 리드미 포맷 적용 (#319) * �📝[Docs] 리드미 포맷 적용 * 리드미 업데이트 * ✨[Feat] ssr로 가져온 데이터로 렌더링 #308 * ✨[Feat] ssr로 데이터 fetching #308 * ✨[Feat] ssr로 fetching 한 데이터를 useQuery 초기데이터로 설정 #308 * ✨[Feat] srr로 data fetching 후 csr로 data fetching 작업 중 #308 * ✨[Feat] ssr로 가져온 데이터로 렌더링 #308 * 💄[Design] 모임 카드 size=100으로 요청 #308 * ✅[Test] fetchBookClub 테스트 코드 작성 #308 * 로그인 테스트 코드 추가 #317 (#318) * ✅[Test] useBookClubList 훅 테스트 코드 작성 (쿼리키로 데이터 가져오기 검증) #308 * ✨[Feat] ssr로 데이터 fetching #308 * ✨[Feat] ssr로 fetching 한 데이터를 useQuery 초기데이터로 설정 #308 * ✨[Feat] srr로 data fetching 후 csr로 data fetching 작업 중 #308 * ✨[Feat] ssr로 가져온 데이터로 렌더링 #308 * ✨[Feat] srr로 data fetching 후 csr로 data fetching 작업 중 #308 * ✨[Feat] ssr로 가져온 데이터로 렌더링 #308 * 💄[Design] 모임 카드 size=100으로 요청 #308 * ✅[Test] fetchBookClub 테스트 코드 작성 #308 * ✅[Test] useBookClubList 훅 테스트 코드 작성 (쿼리키로 데이터 가져오기 검증) #308 * 🐛[Fix] SSR 환경에서 서버 환경변수(API_URL) 누락 문제 해결 #308 * 💬[Comment] 주석 추가 #308 * ✅[Test] 환경 변수 에러 확인 #308 * ✅[Test] 환경 변수 에러 확인 #308 * ♻️[Refactor] 환경 변수 주소로 수정 #308 * 📦[Chore] next.config env 설정 #308 * 📦[Chore] CI 환경설정: NEXT_PUBLIC_API_URL 전달 설정 추가 #308 * 💬[Comment] 환경 변수 test 주석 제거 #308 * ♻️[Refactor] fetchBookClub 테스트 코드 공통 mockBookClubs 사용 #308 * ♻️[Refactor] fetchBookClubs 에러 개발 환경에서만 로그 출력 #308 * 🔥[Remove] 불필요한 feature/bookclub/api 삭제 #308 * ♻️[Refactor] initialData 방식 대신 prefetchQuery로 서버에서 데이터 가져오기 #308 * ♻️[Refactor] 찜하기 후 mutate되는 모임 목록의 쿼리키 변경 #308 * ✅[Test] fetchBookClubs 함수 수정에 따른 테스트 코드 업데이트 #308 * 🐛[Test] Storybook에서 useRouter Mocking하여 오류 해결 #308 * 🐛[Test] Storybook에서 useRouter Mocking 코드 제거거 #308 * 🐛[Fix] storybook router 에러 fix (#334) --------- Co-authored-by: Sungu Kim <108677235+haegu97@users.noreply.github.com> Co-authored-by: cloud0406 <32586926+cloud0406@users.noreply.github.com> Co-authored-by: Jeongho Kim <cloud0406@naver.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣연관된 이슈
📝작업 내용
기타 참고사항
프로그레스바에서
percentage가 100이상으로 들어올 경우 처리를 해두긴했지만 애초에 이런 경우가 들어오지 않도록,프론트에서는 '정원 = 참여자 수' 일 경우 더 이상 참여를 못하도록,
백엔드에서도 이런 경우 요청이 오면 에러를 내도록 추가 처리가 필요할 것 같습니다.